import request from "@/utils/request";

// 条件分页查询用户列表
export const venuesList = (params) => request.get("/api/venues/list.do", params);
// 添加用户
export const insertVenues = (obj)=>request.post("/api/venues/insert.do",obj,{
    headers:{"Content-Type":"application/x-www-form-urlencoded"}
})
// 删除用户
export const deleteVenues = (obj)=>request.post("/api/venues/deleted.do",obj,{
    headers:{
        "Content-Type":"application/x-www-form-urlencoded"}
})
//更新用户
export  const updateVenues = (obj)=>request.post("/api/venues/update.do",obj,{
    headers:{"Content-Type":"application/x-www-form-urlencoded"}
})